Filters a tree by a size distance on the segment of each node.

Filters a tree by a size distance on the segment of each node. Generally, the pointer set as the \_\-tree parameter should be the one affected by the result : in the



\begin{Code}\begin{verbatim}                SegmentTree* tree = new SegmentTree();
                ...
                tree = SegmentTree::filter ( tree, 10 );
\end{verbatim}\end{Code}



\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-tree}]: Tree we want to filter. \item[{\em \_\-thresh}]: Threshold to remove or not a node of the tree.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:](Segment\-Tree$\ast$) Returns the first brother of the filtered tree (it may have changed). \end{Desc}
